import React from 'react'
import './Login.css'
import { Button } from 'antd-mobile'
import { useNavigate } from 'react-router-dom'
export default function Login() {
    const navigate = useNavigate()
    return (
        <>
            <div className='banXin'>
                <div className='loginTop'>
                    <img src="/images/外卖login.jpg" alt="" />
                    <h1>校园外卖</h1>

                </div>
                <div className='loginBottom'>
                    <button className='loginBtn'
                        onClick={() => {
                            navigate('/choiceLogin')
                        }}
                    >登录</button>
                </div>
            </div>

        </>
    )
}
